Thank you Patrick, that worked perfectly!
Learned something new today, even more thanks for that!
Here's the final code snippet should anyone stumble upon this thread in the future.
#Input .obj name name = 'SM_Floor_3x3_01_High' #Path where the .obj is located highStart = 'S:/Jona_Marklund/_P3/Sculpts/' #Path where the .fbx is to be saved lowStart = 'S:/Jona_Marklund/_P3/Low/' #Extensions highEnd = '.OBJ' lowEnd = '.fbx' #Build the final .obj path highPath = highStart + name + highEnd #Remove "_High" to follow the naming convention of the project name = name.replace('_High', '') #Build the final .fbx path lowPath = lowStart + name + lowEnd #Get the input file node for .obj input fileNode = hou.node("../file2") #Get the rop_fbx node for .fbx eport fbxNode = hou.node("../rop_fbx1") #Set the "file" paramater to final path fileNode.parm("file").set(highPath) #Set the "sououtput" paramater to final path fbxNode.parm("sopoutput").set(lowPath) #Test strings #print highName #print lowName